﻿using System.ComponentModel.DataAnnotations;

namespace AdminStystem.Domain
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class User
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string UserName {  get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPassWord {  get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickName {  get; set; }
    }
}
